package forestsimulatorp3.model.beings.abstrakt;

import forestsimulatorp3.model.beings.Environment;
import forestsimulatorp3.model.position.Square;

/**
 * Represents a pant of the forest
 * @author dielson
 *
 */
public abstract class Plant extends LivingBeing {

	// Attributes --------------------------------------------------------------

	// Constructors ------------------------------------------------------------

	public Plant(long id, String speciesName, Environment envirionment,
			int lifePoints, Square position) {
		super(id, speciesName, envirionment, lifePoints, position);
	}

	// Public methods ----------------------------------------------------------

	public void rest() {
		setLifePoints(getLifePoints() + 5);
	}

	// Getters & setters -------------------------------------------------------
}
